-- GENERATED SPELL FOR [Crimson Rifleman] --


function spell0_11054(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(17353,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11054', 631, 1)
end

function Sorts_11054(pUnit, Event)
local choix_sorts_11054 = math.random(0, 0)
if choix_sorts_11054 == 0 then
pUnit:RegisterEvent('spell0_11054', 1, 1)
end
end

function mob11054_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11054', math.random(1500, 3000), 1)
end

function mob11054_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11054_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11054_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11054, 1, 'mob11054_Action')
RegisterUnitEvent(11054, 2, 'mob11054_Leave')
RegisterUnitEvent(11054, 3, 'mob11054_Kill')
RegisterUnitEvent(11054, 4, 'mob11054_Die')
